
//
// Created by Administrator on 2018-03-01.
//

#ifndef XPLAY_XLOG_H
#define XPLAY_XLOG_H

class XLog {

};
#ifdef ANDROID
#include <android/log.h>
#define XLOGD(...) __android_log_print(ANDROID_LOG_DEBUG,"IronManPeng",__VA_ARGS__)
#define XLOGW(...) __android_log_print(ANDROID_LOG_WARN,"IronManPeng",__VA_ARGS__)
#define XLOGI(...) __android_log_print(ANDROID_LOG_INFO,"IronManPeng",__VA_ARGS__)
#define XLOGE(...) __android_log_print(ANDROID_LOG_ERROR,"IronManPeng",__VA_ARGS__)
#else
#define XLOGD(...) printf("XPlay",__VA_ARGS__)
#define XLOGI(...) printf("XPlay",__VA_ARGS__)
#define XLOGE(...) printf("XPlay",__VA_ARGS__)

#endif



#endif //XPLAY_XLOG_H
